package com.pubinfo.passbook.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.pubinfo.passbook.common.entity.TSystemUser;
import com.pubinfo.passbook.common.model.dto.system.UserListParam;
import com.pubinfo.passbook.common.model.vo.manage.RolePermissionVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Entity com.pubinfo.passbook.entity.TSystemUser
 */
public interface TSystemUserMapper extends BaseMapper<TSystemUser> {
  
  IPage<TSystemUser> listUser(IPage<TSystemUser> page, @Param("param") UserListParam param);
  
  List<RolePermissionVo> selectUserPermissions(@Param("username") String username);
}




